package com.mfdm.gui.dialogs;

import java.awt.Dimension;
import java.awt.Toolkit;

import org.eclipse.jface.wizard.IWizard;
import org.eclipse.jface.wizard.WizardDialog;
import org.eclipse.swt.widgets.Shell;

public class AddNewWizardDialog extends WizardDialog {

	public AddNewWizardDialog(Shell parentShell, IWizard newWizard) {
		super(parentShell, newWizard);
	}
	
	@Override
	protected void configureShell(Shell newShell) {
		super.configureShell(newShell);
		Dimension dimension = Toolkit.getDefaultToolkit().getScreenSize();
		newShell.setSize(dimension.width*3/4, dimension.height*3/4);
	}
}
